package com.gzx.qc.modular.asr.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gzx.qc.modular.asr.entity.GzxAsrTask;
import org.apache.ibatis.annotations.Insert;

/**
 * @author zjt
 * @description
 * @since 2025/7/29 15:35
 */
public interface GzxAsrTaskMapper extends BaseMapper<GzxAsrTask> {

    /**
     * 批量创建ASR任务
     *
     * @param batchSql
     */
    @Insert("<script>" +
            "insert ignore into gzx_asr_task (id,call_id,file_url) values ${batchSql}" +
            "</script>")
    void batchSaveTask(String batchSql);
}
